package com.ddwl.wallet.dao.model;

import java.math.BigDecimal;

import com.ddwl.common.dao.model.BaseModel;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.Table;

/**
 * sys_order_refund
 * @author 
 */
@Getter
@Setter
@Table(name = "sys_order_refund")
public class SysOrderRefund extends BaseModel {

    /**
     * 订单ID
     */
    private String orderId;

    /**
     * 订单商品id
     */
    private String orderSpuId;

    /**
     * 售后退款id
     */
    private String refundId;

    /**
     * 退款金额
     */
    private BigDecimal refundAmount;

    /**
     * 店铺id
     */
    private String shopId;

    /**
     * 现金账号退款金额
     */
    private BigDecimal refundCash;

    /**
     * 现金退款流水号
     */
    private String cashFlowId;

    /**
     * 佣金退款金额
     */
    private BigDecimal refundCommission;

    /**
     * 退款佣金流水
     */
    private String commissionId;

    /**
     * 退款状态（0创建10提交20成功30失败）
     */
    private Integer status;
    /**
     * 售后数量
     */
    private Integer skuQty;

}